home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / prgtools / gnustuff / tos / updates / update18.zoo / gcc / diff3 < prev    next >
Encoding:
Text File  |  1992-03-17  |  1.1 KB  |  40 lines

  1. Newsgroups: gnu.g++.bug
  2. From: chip@tct.COM (Chip Salzenberg)
  3. Subject: Fixes for Saber-detected G++ bugs
  4. Organization: GNUs Not Usenet
  5. Distribution: gnu
  6. Date: Fri, 6 Mar 1992 19:50:31 GMT
  7.  
  8. Thanks to Gerald Baumgartner for running G++ 2.0 under Saber C.  The
  9. bugs he found will, I think, be fixed by these patches:
  10.  
  11. Index: cp-spew.c
  12. *************** static int debug_yychar ();
  13. *** 72,77 ****
  14.   #endif
  15.   
  16. ! static char follows_typename[END_OF_SAVED_INPUT];
  17. ! static char follows_identifier[END_OF_SAVED_INPUT];
  18.   
  19.   /* This is a hack!!! TEMPLATE_TYPE_SEEN_BEFORE_SCOPE consists of the name
  20. --- 72,77 ----
  21.   #endif
  22.   
  23. ! static char follows_typename[END_OF_SAVED_INPUT + 1];
  24. ! static char follows_identifier[END_OF_SAVED_INPUT + 1];
  25.   
  26.   /* This is a hack!!! TEMPLATE_TYPE_SEEN_BEFORE_SCOPE consists of the name
  27. *************** yylex()
  28. *** 342,345 ****
  29. --- 342,346 ----
  30.         tmp_token.yychar = real_yylex();
  31.         tmp_token.yylval = yylval;
  32. +       tmp_token.end_of_file = end_of_file;
  33.         add_token(&tmp_token);
  34.       }
  35.  
  36. -- 
  37. Chip Salzenberg at Teltronics/TCT  <chip@tct.com>, <73717.366@compuserve.com>
  38.  
  39.  
  40.